package com.edu.mybatisplus;

import com.edu.mybatisplus.mapper.EmployeeMapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class MyBatisPlusApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext ioc = SpringApplication.run(MyBatisPlusApplication.class, args);
        EmployeeMapper bean = ioc.getBean(EmployeeMapper.class);
        System.out.println(bean);

    }

}
